package com.xiaoye.qbproject.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoye.qbproject.domain.BlbcZbRelation;
import com.xiaoye.qbproject.dto.NodeAndRelationDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【BLBC_ZB_RELATION(兵力编程编组和装备关系)】的数据库操作Mapper
 * @createDate 2025-01-02 11:45:13
 * @Entity com.xiaoye.qbproject.domain.BlbcZbRelation
 */
public interface BlbcZbRelationMapper extends BaseMapper<BlbcZbRelation> {

    int delOldRelationByBlbcId(@Param("blbcId") String blbcId);

    /**
     * @param entityName
     * @description: 获取兵力编程编组和装备关系
     * @author: ChenYao
     * @return: java.util.List<com.xiaoye.qbproject.NodeAndRelationDto>
     * @ceateDate: 2025-01-06 16:52
     */

    List<NodeAndRelationDto> getBlbcHaveRelation(@Param("entityName") String entityName);
}




